package org.jeecg.modules.car.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.car.entity.CarFeeRule;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @Description: 月卡收费规则
 * @Author: jeecg-boot
 * @Date:   2020-09-01
 * @Version: V1.0
 */
public interface ICarFeeRuleService extends IService<CarFeeRule> {

    List<CarFeeRule> findPage(Page<CarFeeRule> page, CarFeeRule carFeeRule);

    int existName( String parkId,String name,String id);

    List<CarFeeRule> findByParkId(String parkId);

    CarFeeRule getByModelAndType(String carModel,String carType);

    CarFeeRule getByParkRuleName(String parkId, String feeRuleName);
}
